import org from "@/router/modules/org"
import right from "@/router/modules/right"
const routes = [
    {
        path: "/",
        component: () => import('@/views/layout.vue'),
        children: [
            {
                path: '',
                component: () => import('@/views/home/index.vue'),
                meta: {
                    title: "首页"
                }
            },
            org,

            right
        ]
    },
    {
        path: "/home",
        component: () => import('@/views/home/index.vue')
    },
    {
        path: "/org",
        component: () => import('@/views/org/index.vue')
    },
    {
        path: '/login',
        name:'login',
        component: () => import('@/views/login/index.vue'),
        meta: {
            title: "登录",
            notCheck: true
        }
    }
    ,
    {
        path: '/403',
        component: () => import('@/views/error-pages/403.vue'),
        meta: {
            title: "403",
            notCheck: true
        }
    },
    {
        path: '/404',
        component: () => import('@/views/error-pages/404.vue'),
        meta: {
            title: "404",
            notCheck: true
        }
    },
    {
        path: '*',
        component: () => import('@/views/error-pages/404.vue'),
        meta: {
            title: "404",
            notCheck: true
        }
    }
]
export default routes